<%@ page language="java" contentType="text/html; charset=utf-8"
         pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>

<head>

  <meta charset="UTF-8">

  <title>搜索</title>

    <link rel="stylesheet" href="/css/style.css" media="screen" type="text/css" />

</head>

<body>
<div id="yingoo">
  <div class="heard">
  </div>
  <div class="search">
    <form method="post" action="/search">
    <input type="text" name="keyword" placeholder="css 文字 垂直居中"/>
    <button>搜索</button>
    </form>
</div>
  <div class="center">
    <table>
    <tbody>
    <c:forEach var="document" items="${documentInfos}">
      <tr class="border">
        <td>
          <a target="_blank" href="${document.path}">${document.title}</a>
        </td>
      </tr>
    </c:forEach>
    </tbody>
    </table>
  </div>
<div class="right">
    <c:forEach var="map" items="${frqMap}">
      ${map.key}:${map.value}
    </c:forEach>
</div>


</div>
</body>

</html>